package 异常0907;
//自定义异常继承Exception
public class AgeException extends Exception {

    @Override
    public String getMessage() {
        return "年龄不能为负数！";
    }
}
